projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd26ce1
)
Do not manually create empty label
author
Paolo Borelli
<pborelli@gnome.org>
Sun, 26 Jun 2011 19:32:45 +0000
(21:32 +0200)
committer
Paolo Borelli
<pborelli@gnome.org>
Mon, 15 Aug 2011 13:08:28 +0000
(15:08 +0200)
gtk_notebook_update_labels will take care of creating it if needed.
gtk/gtknotebook.c
patch
|
blob
|
history
diff --git
a/gtk/gtknotebook.c
b/gtk/gtknotebook.c
index cd191756311452d25600afb9b4ed3b89dbe78752..9c7ece563ccc398255b6079766ef811a1bf4da93 100644
(file)
--- a/
gtk/gtknotebook.c
+++ b/
gtk/gtknotebook.c
@@
-4528,8
+4528,6
@@
gtk_notebook_real_insert_page (GtkNotebook *notebook,
if (!tab_label)
{
page->default_tab = TRUE;
- if (priv->show_tabs)
- tab_label = gtk_label_new (NULL);
}
page->tab_label = tab_label;
page->menu_label = menu_label;